import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";

import Home from "../view/home/index.vue";
// import App from "../App.vue";

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "Home",
    component: Home,
  },
  // {
  //   path: "/home",
  //   name: "Home",
  //   component: Home
  // }
];


const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;